package com.wheel.autoconfigure.drools;/*
 * <h3>Title:wheel-parent系统</h3>
 * <p>Copyright (c) 2021, wnfbx. All rights reserved.</p>
 * @author wnfbx
 */

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * <dt>Description:DroolsAutoConfigurationProperties</dt>
 * <dd>drools spring boot 自动配置参数</dd>
 *
 * @author wnfbx
 * @version 1.0 <i>2021/7/26 10:45</i>
 * @since jdk1.7+
 */
@ConfigurationProperties(prefix = "w.drools")
public class DroolsAutoConfigurationProperties {

    public DroolsAutoConfigurationProperties() {
    }

    private String dateFormat = "yyyy-MM-dd";

    private Map<String, KieContainerProperties> containers;

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }

    public Map<String, KieContainerProperties> getContainers() {
        return containers;
    }

    public void setContainers(Map<String, KieContainerProperties> containers) {
        this.containers = containers;
    }
}
